package com.xiangban.xiangbanmall;


import com.xiangban.xiangbanmall.dao.UserMapper;
import com.xiangban.xiangbanmall.fegin.UserServiceFeign;
import com.xiangban.xiangbanmall.model.TUser;
import com.xiangban.xiangbanmall.model.res.ApiResult;
import com.xiangban.xiangbanmall.utils.RedisUtil;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.beans.BeanUtils;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.transaction.annotation.EnableTransactionManagement;
import springfox.documentation.swagger2.annotations.EnableSwagger2;

import java.util.List;

import static com.xiangban.xiangbanmall.utils.CommonUtils.BizEmpty;

@SpringBootApplication
@MapperScan("com.xiangban.xiangbanmall.dao")
@EnableSwagger2
@EnableTransactionManagement()
@EnableDiscoveryClient
@EnableFeignClients
public class XiangbanMallApplication {

	public static void main(String[] args) {

		SpringApplication.run(XiangbanMallApplication.class, args);

			
	}
}
